package com.example.xpvideo.entity;

import java.math.BigDecimal;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 秒杀商品表(LsSeckillGoods)实体类
 *
 * @author 
 * @since 2021-09-18 16:09:52
 */
@ApiModel("秒杀商品表")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LsSeckillGoods implements Serializable {
    private static final long serialVersionUID = -79199227167780286L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
    @ApiModelProperty(value="$column.comment",position=1)
    private Integer id;

    /**
    * 秒杀时间id
    * isnull 0
    */        @ApiModelProperty(value="秒杀时间id",position=2)
    private Integer seckillId;
    /**
    * 参与秒杀商品的id
    * isnull 0
    */        @ApiModelProperty(value="参与秒杀商品的id",position=3)
    private Integer goodsId;
    /**
    * 参与秒杀规格id
    * isnull 0
    */        @ApiModelProperty(value="参与秒杀规格id",position=4)
    private Integer itemId;
    /**
    * 秒杀活动价
    * isnull 0
    */        @ApiModelProperty(value="秒杀活动价",position=5)
    private BigDecimal price;
    /**
    * 销量
    * isnull 0
    */        @ApiModelProperty(value="销量",position=6)
    private Integer salesSum;
    /**
    * 创建时间
    * isnull 0
    */        @ApiModelProperty(value="创建时间",position=7)
    private Integer createTime;
    /**
    * 更新时间
    * isnull 0
    */        @ApiModelProperty(value="更新时间",position=8)
    private Integer updateTime;
    /**
    * 是否删除；1-是；0-否
    * isnull 0
    */        @ApiModelProperty(value="是否删除；1-是；0-否",position=9)
    private Integer del;
    /**
    * 店铺id
    * isnull 0
    */        @ApiModelProperty(value="店铺id",position=10)
    private Integer shopId;
    /**
    * 审核状态 0-待审核 1-审核通过 2-审核拒绝
    * isnull 0
    */        @ApiModelProperty(value="审核状态 0-待审核 1-审核通过 2-审核拒绝",position=11)
    private Object reviewStatus;
    /**
    * 审核说明
    * isnull 0
    */        @ApiModelProperty(value="审核说明",position=12)
    private String reviewDesc;
    /**
    * 开始日期
    * isnull 0
    */        @ApiModelProperty(value="开始日期",position=13)
    private String startDate;
    /**
    * 结束日期
    * isnull 0
    */        @ApiModelProperty(value="结束日期",position=14)
    private String endDate;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(Integer seckillId) {
        this.seckillId = seckillId;
    }
        
    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }
        
    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }
        
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
        
    public Integer getSalesSum() {
        return salesSum;
    }

    public void setSalesSum(Integer salesSum) {
        this.salesSum = salesSum;
    }
        
    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }
        
    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }
        
    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }
        
    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }
        
    public Object getReviewStatus() {
        return reviewStatus;
    }

    public void setReviewStatus(Object reviewStatus) {
        this.reviewStatus = reviewStatus;
    }
        
    public String getReviewDesc() {
        return reviewDesc;
    }

    public void setReviewDesc(String reviewDesc) {
        this.reviewDesc = reviewDesc;
    }
        
    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }
        
    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"seckillId\":" + seckillId +
                            " ,\"goodsId\":" + goodsId +
                            " ,\"itemId\":" + itemId +
                            " ,\"price\":" + price +
                            " ,\"salesSum\":" + salesSum +
                            " ,\"createTime\":" + createTime +
                            " ,\"updateTime\":" + updateTime +
                            " ,\"del\":" + del +
                            " ,\"shopId\":" + shopId +
                            " ,\"reviewStatus\":" + reviewStatus +
                            " ,\"reviewDesc\":" + reviewDesc +
                            " ,\"startDate\":" + startDate +
                            " ,\"endDate\":" + endDate +
                  '}';
    }


}
